<html lang="zh-cn">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    <title>智慧工地管理平台</title>
    <link rel="stylesheet" type="text/css" href="./css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="./css/base.css" />
  </head>

  <body>
    <!-- header start -->
    <div class="header clearfix">
      <div class="left">
        <div class="logo"></div>
        <h3 class="slogan">南京市六合区智慧工地监管平台</h3>
      </div>
      <div class="right">
        <p class="info">2019年3月21日</p>
        <p class="info">星期四</p>
        <p class="info">温度：12℃</p>
      </div>
    </div>
    <!-- header end -->
    <div class="container">
      <!-- menu start -->
      <ul class="aside-menu">
        <li class="item">
          <span>视频监控</span>
        </li>
        <li class="item">
          <span>环保监测</span>
        </li>
        <li class="item">
          <span>车辆洗轮管理</span>
        </li>
        <li class="item">
          <span>实名制人员管理</span>
        </li>
        <li class="item">
          <span>塔吊监测</span>
        </li>
        <li class="item">
          <span>渣土车管理</span>
        </li>
        <li class="item">
          <span>其他</span>
        </li>
      </ul>
      <!-- menu end -->
      <!-- content start -->
      <div class="content no-bg">
        <div class="sct-title">
          <div class="inner">
            <span>添加编码设备</span>
          </div>
        </div>
        <!-- sct-table start -->
        <div class="sct-table sct-device">
          <div class="sct-filter">
            <form class="form-inline">
              <div class="form-group filter-form">
                <label class="control-label">添加方式:</label>
                <select class="form-control">
                  <option>1</option>
                  <option>2</option>
                  <option>3</option>
                  <option>4</option>
                  <option>5</option>
                </select>
              </div>
              <div class="form-group filter-form">
                <label class="control-label">厂商类型:</label>
                <select class="form-control">
                  <option>1</option>
                  <option>2</option>
                  <option>3</option>
                  <option>4</option>
                  <option>5</option>
                </select>
              </div>
              <div class="form-group filter-form">
                <label class="control-label">视频服务器:</label>
                <select class="form-control">
                  <option>1</option>
                  <option>2</option>
                  <option>3</option>
                  <option>4</option>
                  <option>5</option>
                </select>
              </div>
              <div class="form-group filter-form">
                <label class="control-label">用户:</label>
                <input type="text" class="form-control" placeholder="请输入标题" />
              </div>
              <div class="form-group filter-form">
                <label class="control-label">IP地址:</label>
                <input type="text" class="form-control" placeholder="请输入标题" />
              </div>
              <div class="form-group filter-form">
                <label class="control-label">密码:</label>
                <input type="text" class="form-control" placeholder="请输入标题" />
              </div>
              <div class="form-group filter-form">
                <label class="control-label">设备端口:</label>
                <input type="text" class="form-control" placeholder="请输入标题" />
              </div>
              <div class="form-group filter-form">
                <label class="control-label">设备名称:</label>
                <input type="text" class="form-control" placeholder="请输入标题" />
              </div>
              <div class="form-group filter-form">
                <label class="control-label">设备序列号:</label>
                <input type="text" class="form-control" placeholder="请输入标题" />
              </div>
              <div class="form-group filter-form">
                <label class="control-label">设备类型:</label>
                <select class="form-control">
                  <option>1</option>
                  <option>2</option>
                  <option>3</option>
                  <option>4</option>
                  <option>5</option>
                </select>
              </div>
              <div class="form-group filter-form">
                <label class="control-label">设备描述:</label>
                <input type="text" class="form-control" placeholder="请输入标题" />
              </div>
              <div class="form-group filter-form">
                <label class="control-label">设备能力集:</label>
                <input type="text" class="form-control" placeholder="请输入标题" />
              </div>
              <div class="form-group filter-form" style="width:100%;">
                <button type="button" class="btn btn-primary btn-sm" data-toggle="modal" data-target="#myModal">获取信息</button>
              </div>
            </form>
          </div>
          <ul class="sct-tabs">
            <li class="tab-item active" data-tab="tab-1"><span>视频通道</span></li>
            <li class="tab-item" data-tab="tab-2"><span>报警输入通道</span></li>
            <li class="tab-item" data-tab="tab-3"><span>报警输入通道</span></li>
          </ul>
          <div class="sct-panel tab-panel active" id="tab-1">
            <div class="sct-filter">
              <form class="form-inline">
                <div class="form-group filter-form">
                  <label class="control-label">码流:</label>
                  <select class="form-control">
                    <option>1</option>
                    <option>2</option>
                    <option>3</option>
                    <option>4</option>
                    <option>5</option>
                  </select>
                </div>
                <div class="form-group filter-form">
                  <label class="control-label">设备输入网关:</label>
                  <input type="text" class="form-control" placeholder="请输入标题" />
                </div>
                <div class="form-group filter-form">
                  <label class="control-label">通道数:</label>
                  <input type="text" class="form-control" placeholder="请输入标题" />
                </div>
              </form>
            </div>
          </div>
          <div class="sct-panel tab-panel" id="tab-2">
            <div class="sct-filter">
              <form class="form-inline">
                <div class="form-group filter-form">
                  <label class="control-label">码流:</label>
                  <select class="form-control">
                    <option>1</option>
                    <option>2</option>
                    <option>3</option>
                    <option>4</option>
                    <option>5</option>
                  </select>
                </div>
                <div class="form-group filter-form">
                  <label class="control-label">设备输入网关:</label>
                  <input type="text" class="form-control" placeholder="请输入标题" />
                </div>
                <div class="form-group filter-form">
                  <label class="control-label">通道数:</label>
                  <input type="text" class="form-control" placeholder="请输入标题" />
                </div>
              </form>
            </div>
          </div>
          <div class="sct-panel tab-panel" id="tab-3">
            <div class="sct-filter">
              <form class="form-inline">
                <div class="form-group filter-form">
                  <label class="control-label">码流:</label>
                  <select class="form-control">
                    <option>1</option>
                    <option>2</option>
                    <option>3</option>
                    <option>4</option>
                    <option>5</option>
                  </select>
                </div>
                <div class="form-group filter-form">
                  <label class="control-label">设备输入网关:</label>
                  <input type="text" class="form-control" placeholder="请输入标题" />
                </div>
                <div class="form-group filter-form">
                  <label class="control-label">通道数:</label>
                  <input type="text" class="form-control" placeholder="请输入标题" />
                </div>
              </form>
            </div>
          </div>
        </div>
        <!-- sct-table end -->
      </div>
      <!-- content end -->
    </div>
    <!-- dialog start -->
    <div class="dialog">
      <div class="modal fade" id="myModal" tabindex="-1" role="dialog">
        <div class="modal-dialog" role="document">
          <div class="modal-content">
            <div class="modal-header">
              <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
              <h4 class="modal-title">控制权或变更，格力将是谁的</h4>
            </div>
            <div class="modal-body">
              <p>4月1日早间，深交所发布公告，格力电器（000651.SZ）拟筹划控制权变更事项，公司申请于2019年4月1日开市起临时停牌，公司通过指定媒体披露相关公告后复牌。&hellip;</p>
            </div>
            <div class="modal-footer">
              <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
              <button type="button" class="btn btn-primary">确认</button>
            </div>
          </div>
          <!-- /.modal-content -->
        </div>
        <!-- /.modal-dialog -->
      </div>
      <!-- /.modal -->
    </div>
    <!-- dialog end -->
    <script src="./js/jquery.min.js"></script>
    <script src="./js/bootstrap.min.js"></script>
    <script>
      $(function() {
        $('.sct-tabs').on('click', '.tab-item', function(event) {
          var $this = $(this);
          if (!$this.hasClass('active')) {
            $('.sct-tabs .active').removeClass('active');
            $('.sct-panel.active').removeClass('active');
            $this.addClass('active');
            var id = $this.data('tab');
            $('#' + id).addClass('active');
          }
        });
      });
    </script>
  </body>
</html>
